call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Sun, 28 Nov 2021 14:12:50 +0000 (14:12 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 28 Nov 2021 14:12:50 +0000 (14:12 +0000)
commite2c4cc188ed967d5efb955dc810d96e0b5f90ffe
tree467e75f5ddac9521bb38f730764710bec4073706
parentf15b2eff6240f8fdb1efd53eb772a79df9d25e5d
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json